package com.ljl.headfirst.job2;

import com.ljl.headfirst.job1.Car;

public class DriverWoman implements Driver {

	private String name;

	public DriverWoman(String name) {
		this.name = name;
	}

	@Override
	public void drive(Car car) {
		car.run();
		System.out.println("a woman called " + name + " is driving.");
	}

}

